<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 2018/10/11
 * Time: 14:40
 */
/**
 * @var \yii\web\View $this
 * @var \common\models\db\User $user
 */

use common\components\tools\Html;
?>

<!-- code start -->
<div class="twPc-div">
    <a class="twPc-bg twPc-block"></a>

    <div>
        <div class="twPc-button">
            <?=Html::a('关注', '#', ['class' => "btn btn-sm btn-primary"]) ?>
        </div>
        <?=Html::a($user->getAvatarImg(200, 200, ['class' => "twPc-avatarImg"]), $user->profileUrl, ['class' => "twPc-avatarLink"]) ?>

        <div class="twPc-divUser">
            <div class="twPc-divName">
                <a href="<?=$user->profileUrl ?>"><?=$user->profileName ?></a>
            </div>
            <span>
				<a href="#">@<span>mertskaplan</span></a>
			</span>
        </div>

        <div class="twPc-divStats">
            <ul class="twPc-Arrange">
                <li class="twPc-ArrangeSizeFit">
                    <a href="#" title="9.840 Tweet">
                        <span class="twPc-StatLabel twPc-block">Tweets</span>
                        <span class="twPc-StatValue">9.840</span>
                    </a>
                </li>
                <li class="twPc-ArrangeSizeFit">
                    <a href="#" title="885 Following">
                        <span class="twPc-StatLabel twPc-block">Following</span>
                        <span class="twPc-StatValue">885</span>
                    </a>
                </li>
                <li class="twPc-ArrangeSizeFit">
                    <a href="#" title="1.810 Followers">
                        <span class="twPc-StatLabel twPc-block">Followers</span>
                        <span class="twPc-StatValue">1.810</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!-- code end -->
